<div ng-controller="z-yearFurlough-c" z-loading is-loading="viewModel.isLoading">
	<div viewstack class="carousel slide" data-ride="carousel">
		<div class="carousel-inner" role="listbox">
			<div class="item active">
				<div class="row">
                    <div class="col-lg-12 heading">
                        <ul id="crumb" class="breadcrumb">
	                        <li>
		                        <i class="im-home"></i>
		                        <a href="index.html">首页</a>
	                        </li>
	                       <li ng-repeat="menu in viewModel.menuList">
	                        	<i class="{{menu.icons}}" ng-if="$index+1!=viewModel.menuList.length"></i>
	                        	<i class="en-arrow-right7" ng-if="$index+1==viewModel.menuList.length"></i>
	                        	{{menu.label}}
	                        </li>
                        </ul>
                    </div>
                </div>
                <div class="outlet outbon">
					<button class="btn btn-success" ng-click="viewModel.add()" tabIndex="1">新增</button>
                </div>
				<div class="container-fluid">
					<div class="row">
						<!-- <table class="table table-striped  table-bordered table-hover"> -->
						<table class="table table-striped table-bordered" cellspacing="0" width="100%">
							<thead>
								<tr>
									<th>年假年份</th>
									<th>年假截至时间</th>
									<th width="14%">操作</th>
								</tr>
							</thead>
							<tbody>
								<tr ng-repeat="furlough in viewModel.dataList">
									<td>{{furlough.year}}</td>
									<td>{{furlough.year+1}} 年 {{furlough.month}}月末</td>
									<td>
										<button type="button" class="btn btn-primary btn-sm" 
												ng-click="viewModel.update(furlough)">修改</button>
										<button type="button" class="btn btn-danger btn-sm" 
												ng-click="viewModel.delele(furlough)" >删除</button>
									</td>
								</tr>
							</tbody>
						</table>
					</div>
				</div>
			</div>
		</div>
	</div>
	<z-Dialog show-Save-Btn="true" 
	have-Error-Class= "false"
	load-Url="static/html/yearFurlough/yearFurloughEdit.html" 
	title="{{editModel.title}}" 
	show="viewModel.show"
	cancel-fn="viewModel.unLoad()"
	save-fn="viewModel.save()"
	body-Height="145"></z-Dialog>
</div>